<!doctype html>
<html>

	<head>
		<meta charset="UTF-8" />
		<meta name="renderer" content="webkit" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="format-detection" content="telephone=no">
		<title>添加用户</title>
		<link href="../../css/global.css" rel="stylesheet" type="text/css">
	</head>
	<body>
		<div class="whiteboard"></div>
		<!--栏目列表-->
		<div class="left_menu">
			<div class="sub"> </div>
		</div>
		<!--/栏目列表-->
		<div class="right_con">
			<div class="card">
				<div class="title"><span>创建</span>
					<div class="cfr">
						<div class="tico full"><i class="iconfont icon-quanping"></i> </div>
					</div>
				</div>
				<div class="tipbox"> </div>
				<div class="infoBox">
					<div class="boxs">
						<!--基本信息-->
						<div class="box">
							<div class="form" id="form" ly-get="{{gateUrl}}/menu/selectMenuById">
								<div class="row" gutter="10">
									<div class="label"><em>*</em>用户类型：</div>
									<div class="col-7">
										<div id="userType" name="userType" ly-bind="userType"></div>
									</div>
								</div>
								<div class="row" gutter="10">
									<div class="label"><em>*</em>是否启用：</div>
									<div class="col-7">
										<div id="isUsing" name="isUsing" ly-bind="isUsing"></div>
									</div>
								</div>
								<div class="row" gutter="10">
									<div class="label"><em>*</em>员工姓名：</div>
									<div class="col-7">
										<input type="text" id="nickName" name="nickName" class="ipt required" placeholder="未填写" data-tip="请输入员工姓名" data-valid="isNonEmpty||between:0-20" maxlength="20" data-error="员工姓名不能为空||员工姓名必须在0-20之间" ly-bind="nickName">
									</div>
								</div>
								<div class="row" gutter="10">
									<div class="label"><em>*</em>手机号：</div>
									<div class="col-7">
										<input type="text" id="phone" maxlength="11" class="ipt required" placeholder="未填写" data-tip="请输入手机号" data-valid="isNonEmpty" data-error="手机号不能为空" ly-bind="phone">
									</div>
								</div>
								<div class="row" gutter="10" >
									<div class="label"><em>*</em>工号：</div>
									<div class="col-7">
											<input type="text" id="workerNum" maxlength="11" class="ipt required" placeholder="未填写" data-tip="请输入工号" data-valid="isNonEmpty||between:1-5" data-error="工号不能为空||请正确输入工号，长度1-5位" ly-bind="workerNum">
									</div>
								</div>
								<div class="row" gutter="10">
									<div class="label"><em>*</em>性别：</div>
									<div class="col-7">
										<div id="sex" name="sex" ly-bind="sex"></div>
									</div>
								</div>
								<div class="row" gutter="10" >
									<div class="label"><em>*</em>身份证：</div>
									<div class="col-7">
											<input type="text" id="identityCard" maxlength="18" class="ipt required" placeholder="未填写" data-tip="请输入身份证" data-valid="isNonEmpty||isCardNo" data-error="身份证不能为空||请正确输入身份证" ly-bind="identityCard">
									</div>
								</div>
								<div class="row hide" gutter="10" id="position">
									<div class="label"><em>*</em>职务：</div>
									<div class="col-7">
										<select class="set" id="assumeOffice">
											<option value="">请选择</option>
											<option value="1" id="manager">部门经理</option>
											<option value="2" id="staff">员工</option>
											<option value="3"  id='ScenicArea'>文旅资源管理员</option>
										</select>
									</div>
								</div>
								
								<div class="row hide" gutter="10" id="team">
									<div class="label"><em>*</em>部门：</div>
									<div class="col-7" id="teamType">
										<select class="set" id="teamId">
										</select>
									</div>
								</div>
								<div class="row" gutter="10" id="workBox" style="display: none;">
									<div class="label"><em>*</em>工种：</div>
									<div class="col-7">
										<select class="set" name="workId" id="workId" ly-type="select">
										</select>
									</div>
								</div>
							
								<!--<div class="row" gutter="10" id="position">
									<div class="label"><em>*</em>职务：</div>
									<div class="col-7 text">
										<select class="set" id="assumeOffice">
											<option value="">请选择</option>
											<option value="1">部门经理</option>
											<option value="2">员工</option>
										</select>
									</div>
								</div> -->
								<div class="row" gutter="10">
									<div class="label">邮箱地址：</div>
									<div class="col-7">
										<input type="text" id="emailAddress" name="emailAddress" class="ipt" placeholder="未填写" data-tip="请输入邮箱地址" data-valid="isNonEmpty||isEmail" data-error="邮箱地址不能为空||请正确输入邮箱地址" ly-bind="emailAddress">
									</div>
								</div>
								<!--<div class="row" gutter="10">
									<div class="label"><em>*</em>用户登录密码：</div>
									<div class="col-7">
										<input type="text" id="password" value="123456" name="password" class="ipt required" placeholder="请输入邮箱地址" data-tip="请输入邮箱地址" data-valid="isNonEmpty||between:6-20" data-error="邮箱地址不能为空||请输入6到20位字符" ly-bind="password">
									</div>
								</div>-->
								
							</div>
						</div>
						<div class="btnBox">
							<div class="fr">
								<button class="btn red save-btn hide" id="save-next-btn" data-type="1" type="button">保存并新增</button>
								<button class="btn red save-btn" id="save_btn" data-type="0">保存</button>
								<button class="btn" onclick="javascript:window.history.go(-1);">返回</button>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
	<script id="jquery_js" src="../../js/jquery-1.11.1.min.js"></script>
	<script id="config_js" src="../../js/config.js"></script>
	<script id="ly_main_js" src="../../js/ly_main.js"></script>
	<script id="valid" src="../../js/jquery-validate.js"></script>
	<script src="../../js/common.js"></script>
	<script type="text/javascript" src="../../js/ourJs/user/add-user.js?v=1"></script>
	<!--<script type="text/javascript" src="../../js/ourJs/menu/shuxing.js"></script>-->

</html>